<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="Generator" content="68ECSHOP v4_2"/>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta name="Keywords" content=""/>
        <meta name="Description" content=""/>
        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
        <title>{:session("user_name")}的收藏夹</title>
        <link rel="stylesheet" type="text/css" href="__CSS__/home/68ecshop_common.css"/>
        <link rel="stylesheet" type="text/css" href="__CSS__/home/user.css"/>
        <script src="__JQ__" type="text/javascript" charset="utf-8"></script>
        <!--			layer-->
        <script type="text/javascript" src="__JS__/jquery.form.js"></script>
        <script type="text/javascript" src="__JS__/tips/toastr.min.js"></script>
        <script type="text/javascript" src="__JS__/layer/layer.js"></script>
        <script type="text/javascript" src="__JS__/jquery.layer.js"></script>
        <!--			layer-->
        <script src="__JS__/common.min.js" type="text/javascript" charset="utf-8"></script>
    </head>

    <body>
        <!--头部导航-->
        <include file="Public/head_a"/>
        <!--S公共头部-->
        <include file="Public/head_b"/>
        <include file="Public/head_c"/>
        <!--E公共头部-->
        <script type="text/javascript">
            //<![CDATA[

            function checkSearchForm() {
                if (document.getElementById('keyword').value) {
                    var frm = document.getElementById('searchForm');
                    var type = parseInt(document.getElementById('searchtype').value);
                    frm.action = type == 0 ? 'search.php' : 'stores.php';
                    return true;
                } else {
                    alert("请输入关键词！");
                    return false;
                }
            }

            function myValue1() {
                document.getElementById('keyword').value = "请输入商品名称或编号...";
            }

            function myValue2() {
                document.getElementById('keyword').value = "";
            }

            //]]>
            $('.search-type li').click(function () {
                $(this).addClass('cur').siblings().removeClass('cur');
                $('#searchtype').val($(this).attr('num'));
            });
            $(function () {
                //头部搜索
                $('.search-type').hover(function () {
                    $(this).css({
                        "height": "auto",
                        "overflow": "visible"
                    });
                }, function () {
                    $(this).css({
                        "height": 32,
                        "overflow": "hidden"
                    });
                });

            });

            function _show_(h, b) {
                if (!h) {
                    return
                }
                if (b && b.source && b.target) {
                    var d = (typeof b.source == "string") ? M.$("#" + b.source) : b.source;
                    var e = (typeof b.target == "string") ? M.$("#" + b.target) : b.target;
                    if (d && e && !e.isDone) {
                        e.innerHTML = d.value;
                        d.parentNode.removeChild(d);
                        if (typeof b.callback == "function") {
                            b.callback()
                        }
                        e.isDone = true
                    }
                }
                M.addClass(h, "hover");
                if (b && b.isLazyLoad && h.isDone) {
                    var g = h.find("img");
                    for (var a = 0, c = g.length; a < c; a++) {
                        var f = g[a].getAttribute("data-src_index_menu");
                        if (f) {
                            g[a].setAttribute("src", f);
                            g[a].removeAttribute("data-src_index_menu")
                        }
                    }
                    h.isDone = true
                }
            }

            function _hide_(a) {
                if (!a) {
                    return
                }
                if (a.className.indexOf("hover") > -1) {
                    M.removeClass(a, "hover")
                }
            }
            $(".expand-menu .list").hover(function () {
                $(this).children(".categorys").show();
            }, function () {
                $(this).children(".categorys").hide();
            })
        </script>
        <div class="margin-w1210 clearfix">
            <include file="Public/user_left"/>
            <div class="user-right">
                <div class="account">
                    <div class="notice"><i></i> <span>用户中心公告：淘嘟嘟积分商城上线啦！</span></div>
                    <div class="middle collect" style="height: auto;">
                        <div class="line1">
                            <div class="title"><i></i><span>商品收藏</span></div>
                        </div>
                        <div class="tab_con" style="width:100%; min-height: 200px;">
                            <div class="" id="con_tab_1">
                                <div class="box">
                                    <div class="mar_top">
                                        <table class="ncm-default-table">
                                            <tbody>
                                                <tr>
                                                    <td colspan="2" class="pic-model">
                                                        <ul>
                                                            <foreach name="arr" item="v">
                                                                <li class="favorite-pic-list">
                                                                    <div class="favorite-goods-thumb">
                                                                        <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank" title="{$v['integral_title']}"> <img src="{$v['integral_thumb']}" alt="{$v['goods_title']}" width="200" height="200"> </a>
                                                                    </div>
                                                                    <div class="favorite-goods-info">
                                                                        <dl>
                                                                            <dt>
                                                                                <a href="{:HOME_URL}/Goods/{$v['goods_id']}" target="_blank" title="{$v['integral_title']}">{$v['integral_title']}</a>
                                                                            </dt>
                                                                            <dd class="price">
                                                                                消耗积分：{$v['integral_price']}分
                                                                            </dd>
                                                                        </dl>
                                                                    </div>
                                                                </li>
                                                            </foreach>
                                                        </ul>
                                                    </td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                                <if condition="!$arr">
                                    <div class="emptyFrame_collect"><i class="user_bg"></i><span>您的收藏空空的，赶快去购物吧！</span></div>
                                </if>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="pop-mask"></div>

        <!--S公共尾部-->
        <div style="clear: both"></div>
        <div class="site-footer">
            <div class="footer-related">
                <include file="Public/bootom_a" />
                <include file="Public/bootom_b" />
                <include file="Public/bootom_c" />
            </div>
        </div>
        <a href="#" class="big-link" data-reveal-id="myModal" data-animation="fade"></a>
    </body>
</html>
<script type="text/javascript">
    $('#myform').layer({
        actionUrl: "batchAction",
        deleteUrl: "{:U('del')}",
    });
</script>